package com.takeaway.service.Impl;

import com.takeaway.Mapper.ProductInfoMapper;
import com.takeaway.pojo.ProductInfo;
import com.takeaway.service.ProductInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author ASUS
 * @date 2021/7/30 20:24
 */
@Service
public class ProductInfoServiceImpl implements ProductInfoService {

     @Autowired
    ProductInfoMapper productInfoMapper;

    //商品列表的数据展示
    @Override
    public List<ProductInfo> profuctInfoList() {
        return productInfoMapper.profuctInfoList() ;
    }
}
